/**
 * Copyright 1998-2012 Epic Games, Inc. All Rights Reserved.
 */
class UIPlayerShip_Weapon extends UTVehicleWeapon
	HideDropDown;

var float RateOfFire;
var int Damage;

function SetRateOfFire(float rof)
{
	FireInterval[0]=rof;
	RateOfFire=rof;
}

function SetDamage(int d)
{
	InstantHitDamage[0]=d;
	Damage=d;
}

function float SuggestAttackStyle()
{
	local UTBot B;
	
	B = UTBot(Instigator.Controller);
	if ( (Pawn(Instigator.Controller.Focus) == None) || (B == None) || (B.Skill < 3) )
	{
		return -0.2;
	}
	
	return 0.2;
}

defaultproperties
{
	WeaponFireTypes(0)=EWFT_Projectile
	WeaponFireTypes(1)=EWFT_None

	WeaponProjectiles(0)=class'UIProjectile'

	WeaponFireSnd[0]=SoundCue'A_Vehicle_Manta.SoundCues.A_Vehicle_Manta_Fire'

	//Set Defaults
	RateOfFire=0.2;
	Damage=36;

	FireInterval(0)=+0.2;
	bFastRepeater=true
	ShotCost(0)=0
	ShotCost(1)=0
	FireTriggerTags=(MantaWeapon01,MantaWeapon02)
	VehicleClass=class'UIPlayerShip_Content'
	AimError=750
}
